#include <windows.h>
#include <winhttp.h>

#include "cmdline.h"

#include <iostream>
using std::cout;
using std::endl;
using std::string;

string ghproxy = "https://gh-proxy.com/";

void http() {}

int main(int argc, char *argv[]) {

  cmdline::parser cmd;

  cmd.add<std::string>("url", 'u', "url of github downloadable");

  cmd.parse_check(argc, argv);

  const string &url = cmd.get<string>("url");
  string proxyurl = ghproxy + url;
  cout << "url = " << proxyurl << endl;

  return 0;
}
